<div class="content-left fl">
    <template v-for="(menu, index) in leftMenuList">
        <dl v-if="menu.func === undefined || isPermission(menu.func, user.permissions)" :class="'left-menu shop_' + index + ' sub_' + menu.groupIcon">
            <dt @click="saveSession(menu.sessionName)">
                <i :class="'icon-menu ' + menu.groupIcon"></i>
                <span :id="'shop_' + index" :data-id="index">{{menu.groupName}}</span>
            </dt>
            <template v-for="(sub, index2) in menu.list">
                <template v-if="sub.func === undefined || isPermission(sub.func, user.permissions)">
                    <dd v-if="menu.isOpen === 'none'" style="display: none">
                        <a :href="sub.href">{{sub.name}}</a>
                    </dd>
                    <dd v-else :class="'subshop_' + index2">
                        <a :href="sub.href">{{sub.name}}</a>
                    </dd>
                </template>
            </template>
        </dl>
    </template>
</div>
<!-- end content-left -->